import dayjs from "dayjs";

export const formatDate = (oririnDate: string | Date, format = "YYYY-MM-DD HH:mm:ss") => {
  return oririnDate ? dayjs(oririnDate).format(format) : "";
};
